* {
    margin:0;
    padding:0;
}
.w {
    width: 1200px;
    margin:auto;
}
body {
    background-color: #f3f5f7;
    height: 3000px;
}
/* 清除浮动 */
.clearfix:before,.clearfix:after {
    content:"";
    display:table;
}
.clearfix:after {
    clear:both;
}
.clearfix {
    *zoom: 1;
}
li {
    list-style: none;
}
a {
    text-decoration: none;
}
.header {
    height: 42px;
    /* 因为w类中的margin会被覆盖，所以这里也要auto */
    margin: 30px auto;
}
.logo {
    float: left;
    width: 198px;
    height: 42px;
    background-image: url(images/lzq.jpg);
    background-repeat: no-repeat;
}
.nav {
    float: left;
    margin-left: 60px;
}
.nav ul li {
    float: left;
    margin:0 15px;
}
.nav ul li a {
    display:block;
    height: 42px;
    padding:0 10px;
    line-height: 42px;
    font-size: 18px;
    color:#050505;
}
.nav ul li a:hover {
    border-bottom:2px solid #00a4ff;
}
.search {
    float: left;
    width: 412px;
    height: 42px;
    background-color: skyblue;
    margin-left: 70px;
}
.search input {
    float: left;
    width: 345px;
    height: 40px;
    border:1px solid #00a4ff;
    border-right: 0;
    padding-left:15px;
}
.search button {
    float: left;
    width: 50px;
    height: 42px;
    background: url(images/lzq2.jpg);
    /* 按钮有个默认边框，需要手动去掉 */
    border:0;
}
.user {
    float:right;
    cursor:pointer;
    line-height: 42px;
    font-size: 14px;
    color:#666;
}
.user img {
    /* 让图片和文字垂直中心对齐 */
    vertical-align:middle;
}
.banner {
    height: 421px;
    background-color: #1c036c;
}
.banner .w{
    height: 421px;
    background: url(images/lzq4.jpg) no-repeat top center;
}
.subnav {
    float: left;
    width: 190px;
    height: 421px;
    background:rgba(0,0,0,.3);
}
.subnav ul li {
    height: 45px;
    line-height: 45px;
    padding:0 20px;
}
.subnav ul li a {
    font-size: 14px;
    color:#fff;
}
/* 使用伪元素选择器 */
.subnav ul li a::after {
    content:'&gt;';
}
.subnav ul li a:hover {
    color:#00a4ff;
}
.goods {
    height: 60px;
    background-color: #fff;
    margin:10px auto;
    box-shadow:0 2px 3px 3px rgba(0,0,0,.1);
    /* 行高会继承给三个孩子 */
    line-height: 60px;
}
.goods h3 {
    float: left;
    margin-left:30px;
    font-size: 16px;
    color:#00a4ff;
}
.goods ul {
    float: left;
    margin-left:30px;
}
.goods ul li {
    float: left;
}
.goods ul li a {
    padding:0 30px;
    font-size: 14px;
    color:#050505;
    border-left:2px solid #ccc;
}
.goods .mod {
    float:right;
    margin-right:30px;
    font-size: 14px;
    color:#00a4ff;
}
.goods ul li a:hover {
    color:#00a4ff;
}
.goods .mod:hover {
    color:#050505;
}
.box {
    margin-top: 30px;
}
.box-hd {
    height: 45px;
}
.box-hd h3{
    float: left;
    font-size: 20px;
    color:#494949;
}
.box-hd a {
    float:right;
    font-size: 12px;
    color:#a5a5a5;
    margin-top:10px;
    margin-right:30px;
}
/* 把li的父亲ul修改的足够宽，这样就可以一行装下五个盒子就不会换行了 */
.box-bd ul {
    width: 1400px;
}
.box-bd ul li {
    float: left;
    margin-right:16px;
    margin-bottom:16px;
    width: 230px;
    height: 270px;
    background-color:#fff;
    transition:all .5s;
    border: 1px solid transparent;
}
.box-bd ul li:hover{
    box-shadow:10px 10px 10px -4px rgba(0,0,0,.3);
    border: 1px solid #c51823;
}
.box-bd ul li img {
    width: 100%;
}
.box-bd ul li h4 {
    margin:20px 20px 20px 25px;
    font-size: 14px;
    color:#050505;
    font-weight: normal;
}
.box-bd .info {
    margin:0 20px 0 25px;
    font-size: 12px;
    color:#999;
}
.box-bd .info .zq {
    float: left;
    color:#ff7c2d;
}
.footer {
    height: 415px;
    background-color: #fff;
}
.footer .w {
    padding-top: 35px;
}
.copyright {
    float: left;
}
.copyright p {
    font-size: 12px;
    color:#666;
    margin:20px 0 15px 0;
}
.copyright .app {
    display:block;
    width: 118px;
    height: 33px;
    border:1px solid #00a4ff;
    text-align: center;
    line-height: 33px;
    font-size: 16px;
}
/* 模糊处理 */
.copyright img {
    filter:blur(5px);
}
.copyright img:hover {
    filter:blur(0);
}
.links {
    float: right;
}
.links dl dt {
    margin-bottom: 5px;
    font-size: 20px;
    color:#333;
}
.links dl dd a {
    font-size: 12px;
    color:#333;
}